<template>
  <BorderBox13 class="BorderBox13">
    <div class="head">
      <Decoration7>
        <span class="title">{{ props.title || '' }}</span>
      </Decoration7>
    </div>
    <slot></slot>
  </BorderBox13>
</template>

<script setup>
import { BorderBox13, Decoration7 } from '@dataview/datav-vue3'
const props = defineProps({
  title: {
    type: String,
    default: '标题'
  }
})
</script>

<style lang="scss" scoped>
.head {
  text-align: center;
  color: #fff;
  padding-top: .0768rem;
}

.title {
  display: inline-block;
  font-size: .0439rem;
  padding: 0 .028rem;
}
</style>
